package com.aliyunlog.model;

import java.util.ArrayList;
import java.util.List;

public class LogConf {
	
	String confCode; // 配置code
	String endpoint = "cn-hangzhou.log.aliyuncs.com"; // aliyun指向地址
	String accessKeyId = "LTAItn3KhtQWkZ3L"; // accessKeyId
	String accessKeySecret = "idZjlyp4PxgAPYhpgSCoIuoSdaWmDD"; // accessKeySecret
	String dingdingUrl; // 钉钉url
	String project; // 日志服务上的project 例如:alog2017  
	String logstore; // 日志服务上的cyb2017 例如:cyb2017  
	String topic; // 日志服务上的topic 例如:wmpgateway
	String queryKey; // 日志服务上的查询条件 例如:ERROR
	Integer logMaxLimit; // 报文最大长度
	Integer monitorTime; // 监控区间
	List<String> filterPatterns = new ArrayList<String>(); // 报文匹配模式
	
	public String getConfCode() {
		return confCode;
	}
	public void setConfCode(String confCode) {
		this.confCode = confCode;
	}
	public String getEndpoint() {
		return endpoint;
	}
	public void setEndpoint(String endpoint) {
		this.endpoint = endpoint;
	}
	public String getAccessKeyId() {
		return accessKeyId;
	}
	public void setAccessKeyId(String accessKeyId) {
		this.accessKeyId = accessKeyId;
	}
	public String getAccessKeySecret() {
		return accessKeySecret;
	}
	public void setAccessKeySecret(String accessKeySecret) {
		this.accessKeySecret = accessKeySecret;
	}
	public String getDingdingUrl() {
		return dingdingUrl;
	}
	public void setDingdingUrl(String dingdingUrl) {
		this.dingdingUrl = dingdingUrl;
	}
	public String getProject() {
		return project;
	}
	public void setProject(String project) {
		this.project = project;
	}
	public String getLogstore() {
		return logstore;
	}
	public void setLogstore(String logstore) {
		this.logstore = logstore;
	}
	public String getTopic() {
		return topic;
	}
	public void setTopic(String topic) {
		this.topic = topic;
	}
	public String getQueryKey() {
		return queryKey;
	}
	public void setQueryKey(String queryKey) {
		this.queryKey = queryKey;
	}
	public Integer getLogMaxLimit() {
		return logMaxLimit;
	}
	public void setLogMaxLimit(Integer logMaxLimit) {
		this.logMaxLimit = logMaxLimit;
	}
	public List<String> getFilterPatterns() {
		return filterPatterns;
	}
	public void setFilterPatterns(List<String> filterPatterns) {
		this.filterPatterns = filterPatterns;
	}

    public Integer getMonitorTime() {
        return monitorTime;
    }

    public void setMonitorTime(Integer monitorTime) {
        this.monitorTime = monitorTime;
    }
}
